package cn.pinyuan.news.utils;

import java.util.List;

/*
 * 封装分页对象
 */

public class PageResult {

	private long total;// 总记录数
	private List rows;// 当前页结果
	
	public PageResult(Long total, List rows) {
		super();
		this.total = total;
		this.rows = rows;
	}
	public Long getTotal() {
		return total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}
	public List getRows() {
		return rows;
	}
	public void setRows(List rows) {
		this.rows = rows;
	}
	
}
